<?php if($this->session->userdata("type_user") == "superadmin"){ ?>
<ul>
    <li>
        <a href="<?php echo site_url('admin/manage_admin');?>" title="manage admin" class="menu <?php echo (isset($active_admin))?"active":"";?>" ><span>Manage Admin</span></a>
       
    </li>
    <li>
        <a href="<?php echo site_url('admin/system/banner');?>" title="banner" class="menu <?php echo (isset($active_admin_banner))?"active":"";?>" ><span>Banner</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/news');?>" title="news" class="menu <?php echo (isset($active_admin_news))?"active":"";?>" ><span>News</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/product');?>" title="product" class="menu <?php echo (isset($active_admin_product))?"active":"";?>" ><span>Products</span></a>
    </li>
    <li>
        <a href="<?php echo site_url('admin/testimonial');?>" title="manage testimonial" class="menu <?php echo (isset($active_admin_testimonial))?"active":"";?>" ><span>Testimonial</span></a>
    </li>
</ul>
<?php }else{ ?>
<nav>
<ul>
    <li>
        <a href="<?php echo site_url('driver/index');?>" title="Input Data Barang" class="menu <?php echo (isset($addDriver))?"active":"";?>" >Barang Baru</a> 
        
    </li>
   
   <li><a href="<?php echo site_url('driver/view');?>" title="Lihat Daftar Barang" class="menu <?php echo (isset($viewdriver))?"active":"";?>" >Barang Gudang</a></li>
    
    <li><a href="<?php echo site_url('history/index');?>" title="Input Data Barang Keluar" class="menu <?php echo (isset($addHistory))?"active":"";?>" >Barang Keluar</a></li>
    <li><a href="<?php echo site_url('history/view');?>" title="Lihat Daftar Barang Keluar" class="menu <?php echo (isset($viewHistory))?"active":"";?>" >Daftar Barang Keluar</a></li>
    <li><a href="<?php echo site_url('inItem/index');?>" title="Input Data Barang Masuk" class="menu <?php echo (isset($addinItem))?"active":"";?>" >Tambah Barang Masuk</a></li>
    <li><a href="<?php echo site_url('inItem/view');?>" title="Lihat Daftar Barang Masuk" class="menu <?php echo (isset($viewinItem))?"active":"";?>" >Daftar Barang Masuk</a></li>	 
</ul>

</nav>

<?php } ?>